package io.renren.modules.backstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 个人信息
 * 
 * @author syh
 * @email sunlightcs@gmail.com
 * @date 2022-05-19 09:40:52
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class UsersEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	 */
	@TableId
	private Integer userId;
	/**
	 * 用户头像
	 */
	private String userPic;

	private String password;
	/**
	 * 手机号
	 */
	private String phone;
	/**
	 * 实名认证
	 */
	private Integer ifCertificated;
	/**
	 * 银行卡Id
	 */
	private Integer cardId;
	/**
	 * 身份证
	 */
	private String identityId;
	/**
	 * 昵称
	 */
	private String nickName;
	/**
	 * 签到积分
	 */
	private Long integral;
	/**
	 * 信誉分
	 */
	private Integer creditScore;
	/**
	 * 贷款额度
	 */
	private Long loanAmount;
	/**
	 * 签到天数
	 */
	private Integer checkDays;
	/**
	 * 邮箱
	 */
	private String email;

	private String faceUserId;

	public UsersEntity(Integer userId, String password, String nickName) {
		this.userId = userId;
		this.password = password;
		this.nickName = nickName;
	}


}
